home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Interactive Reference Guide
/
C-C++ Interactive Reference Guide.iso
/
c_ref
/
csource5
/
327_01
/
attr.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
C/C++ Source or Header
|
1991-09-10
|
397 b
|
30 lines
#include "panel.h"
#include "keys.h"
unsigned keys[] = {
ENTER,
ESC,
0
};
main()
{
char buf[20];
pan_init();
pan_resp_keys(keys);
pan_activate("attr");
while (pan_execute("", 1, 0) != ESC)
{
pan_get_field("attr", 1, buf);
pan_field_attr("field", 1, buf);
}
pan_destroy();
}